Finding and Counting Permutations via CSPs

نویسندگان

چکیده

Abstract Permutation patterns and pattern avoidance have been intensively studied in combinatorics computer science, going back at least to the seminal work of Knuth on stack-sorting (1968). Perhaps most natural algorithmic question this area is deciding whether a given permutation length n contains k . In we give two new algorithms for well-studied problem, one whose running time $$n^{k/4 + o(k)}$$ nk/4+o(k) , polynomial-space algorithm better $$O(1.6181^n)$$ xmlns:mml="http://www.w3.org/1998/Math/MathML">O(1.6181n) $$O(n^{k/2 1})$$ xmlns:mml="http://www.w3.org/1998/Math/MathML">O(nk/2+1) These results improve earlier best bounds $$n^{0.47k xmlns:mml="http://www.w3.org/1998/Math/MathML">n0.47k+o(k) $$O(1.79^n)$$ xmlns:mml="http://www.w3.org/1998/Math/MathML">O(1.79n) due Ahal Rabinovich (2000) resp. Bruner Lackner (2012) are fastest problem when $$k \in \varOmega (\log {n})$$ xmlns:mml="http://www.w3.org/1998/Math/MathML">k??(logn) We show that both our previous exponential-time literature can be viewed through unifying lens constraint-satisfaction Our also count within same time, number occurrences pattern. result close optimal: solving counting $$f(k) \cdot n^{o(k/\log {k})}$$ xmlns:mml="http://www.w3.org/1998/Math/MathML">f(k)·no(k/logk) would contradict hypothesis (ETH). For some special classes obtain improved times. further prove 3- increasing (4321-avoiding) decreasing (1234-avoiding) permutations can, sense, embed arbitrary almost linear length, which indicates sub-exponential unlikely with current techniques, even from these restricted classes.

برای دانلود باید عضویت طلایی داشته باشید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Counting quantifiers, subset surjective functions, and counting CSPs

We introduce a new type of closure operator on the set of relations, max-implementation, and its weaker analog max-quantification. Then we show that approximation reductions between counting constraint satisfaction problems (CSPs) are preserved by these two types of closure operators. Together with some previous results this means that the approximation complexity of counting CSPs is determined...

متن کامل

Stacking Blocks and Counting Permutations

In this paper we will explore two seemingly unrelated counting questions, both of which are answered by the same formula. In the first section, we find the surface areas of certain solids formed from unit cubes. In second section, we enumerate permutations with a specified set of restrictions. Next, we give a bijection between the faces of the solids and the set of permutations. We conclude wit...

متن کامل

Counting 1324-Avoiding Permutations

We consider permutations that avoid the pattern 1324. By studying the generating tree for such permutations, we obtain a recurrence formula for their number. A computer program provides data for the number of 1324-avoiding permutations of length up to 20.

متن کامل

Counting Solutions of CSPs: A Structural Approach

Determining the number of solutions of a CSP has several applications in AI, in statistical physics, and in guiding backtrack search heuristics. It is a #Pcomplete problem for which some exact and approximate algorithms have been designed. Successful CSP models often use high-arity, global constraints to capture the structure of a problem. This paper exploits such structure and derives polytime...

متن کامل

Descriptive complexity of approximate counting CSPs

Motivated by Fagin’s characterization of NP, Saluja et al. have introduced a logic based framework for expressing counting problems. In this setting, a counting problem (seen as a mapping C from structures to non-negative integers) is ’defined’ by a first-order sentence φ if for every instance A of the problem, the number of possible satisfying assignments of the variables of φ in A is equal to...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Algorithmica

سال: 2021

ISSN: ['1432-0541', '0178-4617']

DOI: https://doi.org/10.1007/s00453-021-00812-z